import Vue from 'vue'
import App from './App.vue'

//引入element ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.config.productionTip = false
//启用element ui
Vue.use(ElementUI);


new Vue({
  render: h => h(App),
  beforeCreate(){
    //安装全局事件总线
    Vue.prototype.$bus = this;
  }
}).$mount('#app')
